<?php

class Action_Helper_CaptureVardump extends Zend_Controller_Action_Helper_Abstract
{
	public function direct($data)
	{
		ob_start();
		var_dump($data);
		$dump = ob_get_contents();
		ob_end_clean();
		
		return $dump;
	}	
}